using System;
using System.Collections.Generic;

namespace Viettel.VOFFICE.DAO.Models
{
    public class DocumentType
    {
        public DocumentType()
        {
            this.Flows = new List<Flow>();
        }

        public int Id { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public Nullable<bool> IsActive { get; set; }
        public Nullable<bool> IsCommon { get; set; }
        public Nullable<int> BookId { get; set; }
        public System.DateTime CreatedAt { get; set; }
        public System.DateTime UpdatedAt { get; set; }
        public Nullable<System.Guid> CreatorId { get; set; }
        public virtual Book Book { get; set; }
        public virtual ICollection<Flow> Flows { get; set; }
    }
}
